package com.spider.admin.exception;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class SpiderException extends Exception{

    public SpiderException(int code, String msg){
        this.code=code;
        this.message=msg;
    }
    public SpiderException(int code, String msg, String stackMessage){
        this.code=code;
        this.message=msg;
        this.stackMessage=stackMessage;
    }

    private int code;
    private String message;
    private String stackMessage;
}
